package erik.util;

public interface Iterator<T> extends java.util.Iterator<T> {
	/**
	 * Tests if there are items not yet iterated over.
	 */
	boolean hasNext();
	
	/**
	 * Obtains the next item in the collection.
	 */
	T next();
	
	/**
	 * remove the last item returned by {@link #next()}.
	 * Can only be called once after {@link #next()}.
	 */
	void remove();
}
